package com.lanou.utp.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

@Data
@AllArgsConstructor
public class LoginUser implements Serializable {

    private Integer id;
    private String name;
    private String password;
    private Integer channel; // 0学号登录 1手机号码
    private Integer position; // 0管理员 1老师 2学生

    private Integer role;/*角色*/


    public LoginUser() {
    }

    public LoginUser(String name, String password) {
        this.name = name;
        this.password = password;
    }

}
